home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000018_charnier@lirmm.fr_Sun Dec 4 09:24:17 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  4KB

  1. Received: from lirmm.lirmm.fr by cs.umb.edu with SMTP id AA06316
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sun, 4 Dec 1994 11:31:11 -0500
  3. Received: from lirmm.fr (baobab.lirmm.fr [193.49.106.14]) by lirmm.lirmm.fr (8.6.9/8.6.4) with ESMTP id IAA06432; Sun, 4 Dec 1994 08:26:17 +0100
  4. Message-Id: <199412040726.IAA06432@lirmm.lirmm.fr>
  5. To: kb@cs.umb.edu
  6. Cc: tex-k@cs.umb.edu
  7. Subject: web2c-6.1a / freebsd-2.0
  8. Date: Sun, 04 Dec 1994 08:24:17 +0100
  9. From: "Philippe Charnier" <charnier@lirmm.fr>
  10.  
  11. Hi,
  12.  
  13. I found a solution to run configure on a FreeBSD-2.0 box and to create corrects
  14. makefiles. I forget to remove comments (#echo ...) in kpathsea/configure, You
  15. can do that to not change the initial numbering of lines. I hope this will 
  16. work on your machine as well.
  17.  
  18. Running make shows another problem: configure does not detect that FreeBSD-2.0
  19. has dirent.h. 
  20.  
  21.  
  22.  
  23. --- web2c-6.1a/configure.orig    Sat Dec  3 22:36:43 1994
  24. +++ web2c-6.1a/configure    Sat Dec  3 22:39:33 1994
  25. @@ -596,11 +596,11 @@
  26.    # Can't use only one -e and commands {dr foo} because foo has to be last.
  27.    # Use @e initially of -e because GNU echo has a -e option.
  28.    file_substs=`sed -n \
  29. -"/^ac_include/s%ac_include[     ]*\(.*\)%@e '\\\\\@^&@r \1' -e '\\\\\@^&@d'%p"\
  30. +"/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p"\
  31.                 $ac_given_srcdir/${ac_file}.in`
  32.    if test -n "$file_substs"; then
  33. -    # Change @e back to -e.
  34. -    file_subst_cmd="sed `echo $file_substs | sed s/@e/-e/g`"
  35. +    # Change @e back to -e and X@^ to \@^.
  36. +    file_subst_cmd="sed `echo $file_substs | sed 's/@e/-e/g' | sed 's/X@^/\\\\\@^/g`"
  37.    else
  38.      # If no substitutions and hence no sed commands, don't choke.
  39.      file_subst_cmd=cat
  40.  
  41.  
  42. --- web2c-6.1a/kpathsea/configure.orig    Sat Dec  3 22:40:17 1994
  43. +++ web2c-6.1a/kpathsea/configure    Sat Dec  3 22:44:16 1994
  44. @@ -1083,12 +1083,15 @@
  45.    # Can't use only one -e and commands {dr foo} because foo has to be last.
  46.    # Use @e initially instead of -e because GNU echo has a -e option.
  47.    file_substs=`sed -n \
  48. -"/^ac_include/s%ac_include[     ]*\(.*\)%@e '\\\\\@^&@r \1' -e '\\\\\@^&@d'%p"\
  49. +"/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p"\
  50.                 $ac_given_srcdir/${ac_file}.in`
  51. +  #echo $file_substs
  52. +  #echo $file_substs | sed s/@e/-e/g | sed s/X@^/\\\\\@^/g
  53.    if test -n "$file_substs"; then
  54. -    # Change @e back to -e.
  55. -    file_subst_cmd="sed `echo $file_substs | sed s/@e/-e/g`"
  56. -  else
  57. +    # Change @e back to -e and X@^ to \@^.
  58. +    file_subst_cmd="sed `echo $file_substs | sed 's/@e/-e/g' | sed 's/X@^/\\\\\@^/g'`"
  59. +    #echo $file_subst_cmd 
  60. + else
  61.      # If no substitutions and hence no sed commands, don't choke.
  62.      file_subst_cmd=cat
  63.    fi
  64.  
  65.  
  66. --- web2c-6.1a/web2c/configure.orig    Sat Dec  3 22:41:22 1994
  67. +++ web2c-6.1a/web2c/configure    Sat Dec  3 22:43:05 1994
  68. @@ -1897,11 +1897,11 @@
  69.    # Can't use only one -e and commands {dr foo} because foo has to be last.
  70.    # Use @e initially instead of -e because GNU echo has a -e option.
  71.    file_substs=`sed -n \
  72. -"/^ac_include/s%ac_include[     ]*\(.*\)%@e '\\\\\@^&@r \1' -e '\\\\\@^&@d'%p"\
  73. +"/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p"\
  74.                 $ac_given_srcdir/${ac_file}.in`
  75.    if test -n "$file_substs"; then
  76. -    # Change @e back to -e.
  77. -    file_subst_cmd="sed `echo $file_substs | sed s/@e/-e/g`"
  78. +    # Change @e back to -e and X@^ to \@^.
  79. +    file_subst_cmd="sed `echo $file_substs | sed 's/@e/-e/g' | sed 's/X@^/\\\\\@^/g'`"
  80.    else
  81.      # If no substitutions and hence no sed commands, don't choke.
  82.      file_subst_cmd=cat
  83.  
  84. --------                                                        --------
  85. Philippe Charnier                                      charnier@lirmm.fr
  86.                                
  87.  
  88.          LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
  89. ------------------------------------------------------------------------
  90.